home *** CD-ROM | disk | FTP | other *** search
-
- *********************************
- * Skandal Backup v1.2 *
- *********************************
-
-
- LEGAL & DISCLAIMER
-
- This program is Mailware. If you use it, send us an E-Mail at the
- addresses found in THE AUTORS section.
- You can redistribute it as long as the packet retains it's original form,
- and no changes where made to the files included.
- You CANNOT use the program in commercial packages; PD companies should
- contact Alessandro Pozzoli if they want to sell them with a PD collection.
- Only Fred Fish and Aminet CD ROM are authorized to do so without notice.
-
-
- Cause this programs deals with files & directories, WE CANNOT BE CONSIDERED
- BY ANY MEANS RESPONSABLE FOR DIRECT OR INDIRECT DAMAGE CAUSED BY THE USE OF
- THIS PROGRAM. Use at your own risk.
- I (Dario) and Alessandro use them regularly since 6 months without any kind
- of problem.
- Read IMPORTANT NOTES before using it.
-
-
- INTRODUCTION
-
- At our university lab we have to pass trough a PC for downloading wares
- from the net, and many problems arises:
-
- 1) File names where badly truncated or not accepted, so we had to rename
- them manually <gasp!>
- 2) We have ONE pc for SIXTY users, so we have to optimize the files
- in pre-sized directories to leave as less empty space on the disks
- as we can, and to transfer FAST from the pc to allow other users
- do the same.
-
- So Alessandro tought, downloading a unique file of 1420k is surely faster
- and wastes less disk space than downloading 100 files of 14k.
- In other words, we need a simple program wich takes tons of still archived
- things (so compression is not needed) and organizes it in a huge file
- splitted to disk boundaries, and obviously able to reintegrate all
- on our personal at home. Cause our Unix lha version is not compatible
- with the Amiga one, here it is.
- It was developed on HP/UX RISC machines.
-
-
- PROGRAM INSTALLATION & GUIDELINES
-
- Of course, you can use the program for many purposes, i.e. non compressed
- backup of whatever you want.
- This archive contains:
-
- 1) The source of the executable (compile it on Amiga or your Unix client)
- 2) Amiga binary executable
- 3) Binaries & source for an easy use Amiga GUI interface (SkBackupWin).
- 4) This doc file
-
- An MS-DOS executable version will be released when my brother will finish
- with his thesis at university, so leaving to me the PC :).
-
-
- -) Unix installation: simply compile it with
-
- cc <source> -oSkBackup
-
-
- -) Amiga installation: copy it whatever you want.
- If you decide to use the GUI frontend, place SkBackup
- anywhere in your PATH. (I suggest C:...)
-
-
- The program idea is simple: it receives a directory name as input,
- a size (in k or bytes), and then stores them all in an unique file,
- splitting it every <size> bytes.
- The file(s) will look similar to <Name>.000 <Name>.001 etc.
-
-
-
- CLI USAGE
-
- Here is what you'll see if you simply type 'SkBackup' at CLI prompt
- (Unix usage is exactly the same; anyway, see NOTES below):
-
-
- Skandal Backup Program V1.1
- Author Pozzoli Alessandro
- Copyright 1994
- Amiga Version
-
- All rights reserved. Not for commercial use.
- Compatibility: Amiga - Unix - Ms-Dos
- For Infos or Bug Mail pozzoli@ghost.dsi.unimi.it University of Milano
-
- Usage : Backup [-<option>] <command) Backup_File length_archive [Dir]
- (a,e,l) (a,s)
-
- Command:
- a add files
- e extract files
- l list files
- s statistic files occupation
-
- Option:
- -n Create new backup file (not append) (a)
- -d delete files (a,e)
- -r recursively directory (a,s)
- -b length in byte (a,s)
- -v verbose mode off (a,e)
- -k disk request off (a,e,l)
-
-
- I think it's pretty straightforward, so i go with some exaples to make
- you the thing brighter:
-
-
- 1) Create an archive from scratch on the harddisk, splitted every
- 1422k (max size on a PC HD diskette). The dir wich contains you stuffs
- is called MyStuffs, you wanna keep them, you want to call the archive
- Things, and want to know what happens during archiviation.
- So here we go:
-
- skbackup -nk a Things 1422 Mystuffs
-
- or
-
- skbackup -krnb Things 1456128 MyStuffs (1k = 1024 bytes!)
-
- 2) You have limited diskettes, and want to know the occupation in
- number of diskettes with a given splitting size. So:
-
- skbackup -r s 1422 MyStuffs
-
- this command will tell you how many PC HD disks you need, and how
- many bytes are free on the last disk, if any.
-
- 3) You wanna archive fast directly on diskettes, and directly delete
- the sources files. Now:
-
- skbackup -rvnd a Things 855 MyStuffs
-
- this will store the files deleting them after storing, and ask you
- to insert a new disk every 855k.
-
- 4) You want to know what is in your archive files on diskettes.
-
- skbackup l Things
-
- 5) You want to add some things cause there are still space in the last
- part of the archive.
-
- skbackup -kv a Things 1422 MyStuffs2
-
- Please note the absence of the -n option and the use of another source
- dir: skbackup WILL NOT check for duplicates.
-
- 6) You arrived home and wanna extract all on your hd, deleting the archive
- from the diskettes so they'll be ready for the next time...
-
- skbackup -dr e Things.000
-
- or, if you want to extract from hd,
-
- skbackup -drk e Things.000
-
- That's all I think; read the notes anyway cause you can find some troubles
- if you don't take care of them...
-
-
- IMPORTANT NOTES
-
- 1) When you call Skbackup for creating or adding, you MUST be in a different
- directory than these of the files to be archived (I suggest the parent;
- see note 2). If you forgot this, SkBackup will run in an infinite loop
- cause he catch recursively the created files as new entries to archive!
- And this can be VERY annoing for your HD and OS, especially on UNIX!
-
- 2) When extracting, SkBackup creates automatically the directory you
- passed as input on creation. So be careful about same names directories,
- and avoid strange names and long paths (expecially from Amy to Unix).
-
- Those paths can cause havoc from Unix to Amiga:
-
- /pub/usr/users1-100/rosati/bin/pub cause "/" at the beginning means
- parent on Amiga;
-
- ~rosati/. /^F/^C/../ no comment... :)
-
- Dont'use ~,^,.. and . if you can.
-
-
- From Amiga to Unix avoid things like this:
-
- Ram Disk:give/a/call/to/DataZone/
-
-
- In a word: go in the parent dir and use a normal letters name,
- cause if you specify a/b/c/d/e/f/g/h/i on adding, on extract
- you will have to do a "cd a/b/c/d/e/f/g/h/i" to found your files...
-
- And think twice when you use the -d option!!!
-
- 3) If you loose an archive part, files after the point missing
- or corrupted are LOST!
- Sorry guys, this isn't AmyBackTools...
-
-
-
- MAKE IT EASY: SKBACKUPWIN
-
- Easy to say, we Amiga users of the lab immediately started using it,
- cause we where bored of archive renaming and dozens of minutes spent
- optimizing the diskette usage.
- So I (Dario) decided to write a simple GUI for skbackup.
- There it is: SKBackupWin. It exactly acts as the CLI command, in a
- more friendly way I hope... all gadgets are straightforward.
- When you click on GO gadget, the frontend simply passes command and
- parameters to the CLI executable via System().
-
- If you are adding or creating an archive, the program will ask
- you the name of the file to create and then the directory to backup,
- via ASL requesters. The same happens on extract.
-
-
-
- SOME FINAL WORDS
-
- We wrote these tools mainly for fun, so take them as they are.
- Maybe 'll release an MS-DOS executable, maybe not.
- Anyway, report bugs to Alessandro Pozzoli or to Dario Rosati if you
- found one.
- Long live to Amiga!
-
-
-
- THE AUTHORS
-
- You can reach us at the following E-Mail addresses:
-
- -) Alessandro Pozzoli (Willow/Skandal): pozzoli@ghost.dsi.unimi.it
-
- -) Dario Rosati (Xenon/Skandal): rosati@ghost.dsi.unimi.it
- Dario_Rosati@ccmail.uni-bocconi.it
-
-
- Or leave a mail to Xenon on DataZone BBS:
-
- +39-2-70633892 21->14 local time, 2400->28800 V.FC
-
-
- Greetings to all in Skandal and to all you out there...
-
-
-
-
- Willow & Xenon